package cn.wolfcode.cloud.shop.service;

import cn.wolfcode.cloud.shop.vo.SeckillGoodsVo;

import java.util.List;

public interface ISeckillGoodService {

    List<SeckillGoodsVo> query();

    List<SeckillGoodsVo> queryByCache();

    SeckillGoodsVo queryById(Long id);

    SeckillGoodsVo queryByIdInCache(Long id);

    Integer decrStockCount(Long id);

    Integer incrStockCount(Long seckillId);
}
